package com.lc.YYGH.hosp.repository;


import com.lc.YYGH.model.office.Profession;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ProfessionRepository extends MongoRepository<Profession,String> {
    Profession findByLawercodeAndProfessioncode(String lawercode, String professioncode);
}
